/**
 * This program is free software but WITHOUT ANY WARRANTY OR CONDITIONS OF ANY KIND.
 *
 * Copyright (C) 2008-2012 www.pretty-tools.com
 */

function makeMultiline()
{
    var elementTemplate = document.getElementById("element_template");
    if (!elementTemplate || elementTemplate.hasAttribute("multiline"))
        return;

    var value = elementTemplate.value;
    elementTemplate.setAttribute("multiline", true);
    elementTemplate.setAttribute("flex", "1");
    elementTemplate.setAttribute("rows", 8);
    elementTemplate.setAttribute("value", value);
}
